package com.linzm.behavioraltype.command02.order;

import com.linzm.behavioraltype.command02.Stock;

/**
 * @Author zimingl
 * @Date 2023/4/16 2:53
 * @Description: SellStock
 */
public class SellStock implements Order {
    private Stock abcStock;

    public SellStock(Stock abcStock) {
        this.abcStock = abcStock;
    }

    public void execute() {
        abcStock.sell();
    }
}
